<?
require_once('DataMediatorModel.php');

class DataMediatorArray implements DataMediatorModel {
	private $array;

	public function __construct(&$array) {
		$this->array= &$array;
	}
	public function get($name) {
		return isset($this->array[$name]) ? $this->array[$name] : null;
	}
}
